<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.org/ui"
	template="/pages/templates/TemplateVisiteur.xhtml">

	<ui:define name="titre">Comme au resto</ui:define>
	<ui:define name="content">
		<h:head></h:head>
		<h:body>
	<h:form>
	<f:event listener="#{deviseMB.initListePays}" type="preRenderView"></f:event>
	
	 <p:dataTable id="idTablePays" border="1" value="#{deviseMB.listePays}" var="p">
	          <p:column>
	              <f:facet name="header"><f:verbatim>Nom du pays</f:verbatim></f:facet>
	              <h:commandLink value="#{p.nom}" action="#{deviseMB.doSelection}" >
	                 <f:setPropertyActionListener target="#{deviseMB.idSelPays}"  value="#{p.id}"/>
	              </h:commandLink>
	         </p:column>
	  </p:dataTable>
	  <br/>  <br/>
	 
	</h:form> 
	</h:body> 
	</ui:define>
	
</ui:composition>
